package com.modelscope.ai.service;

import com.modelscope.ai.domain.entity.Visit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.modelscope.ai.domain.vo.VisitVo;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【visit】的数据库操作Service
 * @createDate 2024-03-15 10:56:30
 */
public interface VisitService extends IService<Visit> {


    void addVisited(Long userId, Long articleItemId);

//    void add(Long userId, Long articleId);


    List<VisitVo> getVisited(Long userId);


}
